package course11;

import java.util.HashMap;
import java.util.Map;

public class HashHeroSort {
    public static void main(String[] args) {

        Map<String,String>hasmap1=new HashMap<>();
        Map<String,String>hasmap2=new HashMap<>();
        Map<String,String>hasmap3=new HashMap<>();

        hasmap1.put("liubei","刘备");
        hasmap1.put("guanyu","关羽");
        hasmap1.put("zhangfei","张飞");

        hasmap2.put("huamulan","花木兰");
        hasmap2.put("sulie","苏烈");
        hasmap2.put("baoli","百里守约");

        hasmap3.put("daji","妲己");
        hasmap3.put("meiqi","梦琪");
        hasmap3.put("peiqinghu","裴擒虎");

        Map<String,Map<String,String >>hashmap4=new HashMap<>();
        hashmap4.put("桃园三兄弟",hasmap1);
        hashmap4.put("长城小分队",hasmap2);
        hashmap4.put("妖怪",hasmap3);

        Map<String,Map<String,Map<String,String>>>
                hashmap5=new HashMap<>();
        hashmap5.put("王者荣耀",hashmap4);
        System.out.println(hashmap5.get("王者荣耀").get("长城小分队"));
    }
}
